<?php


namespace app\admin\controller;


use app\common\service\PersonService;

class Person
{

    public function index(){
        $personService = new PersonService();
        $data = $personService->findAll();
        return show(1, "请求成功", $data);
    }

}